/*  preJobList
/*  file   : /Users/arida/react-hrm-h5/src/actions/identify/index
/*  author : Allan
/*  date   : 2017-09-09 13:17
/*  last   : 2017-09-09 13:17
*/
import fetch from "../../utils/fetch.js";

export const getLists = param => () =>
  fetch("/hrmregister/mobile/workbench/queryOnJobList", {
    body: param,
    meta: {
      dipId: 67252
    }
  });

export const getProbationList = param => () =>
  fetch("/hrmregister/mobile/empList/getProbationaryEmpList", {
    body: param,
    meta: {
      dipId: 67252
    }
  });

/**
 * 离职员工列表
 * @param userId get
 */
export const getDismissionList = param => () =>
  fetch("/hrmregister/mobile/empList/getDismissionEmpList", {
    body: param,
    meta: {
      dipId: 70095
    }
  });

